package com.opentae.data.mall.beans;

import com.opentae.core.mybatis.config.Column;

/**
 * Created by bugzy on 2017/8/4 0004.
 */
public class GoatInfo {

    @Column("goat_one_item.goat_id")
    private Long goatId;

    /**
     * 广告位置ID
     */
    @Column("goat_one_item.local_id")
    private Long localId;

    @Column("goat_one_location.local_code")
    private String localCode;

    @Column("goat_one_location.goat_type")
    private Integer goatType;

    /**
     * 是否禁用,true为禁用
     */
    @Column("goat_one_item.dis_enabled")
    private Boolean disEnabled;

    /**
     * 排序,升序
     */
    @Column("goat_one_item.sort")
    private Integer sort;

    @Column("goat_one_item.recommon")
    private String recommon;

    public Long getGoatId() {
        return goatId;
    }

    public void setGoatId(Long goatId) {
        this.goatId = goatId;
    }

    public Long getLocalId() {
        return localId;
    }

    public void setLocalId(Long localId) {
        this.localId = localId;
    }

    public String getLocalCode() {
        return localCode;
    }

    public void setLocalCode(String localCode) {
        this.localCode = localCode;
    }

    public Integer getGoatType() {
        return goatType;
    }

    public void setGoatType(Integer goatType) {
        this.goatType = goatType;
    }

    public Boolean getDisEnabled() {
        return disEnabled;
    }

    public void setDisEnabled(Boolean disEnabled) {
        this.disEnabled = disEnabled;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRecommon() {
        return recommon;
    }

    public void setRecommon(String recommon) {
        this.recommon = recommon;
    }

    @Override
    public String toString() {
        return "GoatInfo{" +
                "goatId=" + goatId +
                ", localId=" + localId +
                ", localCode='" + localCode + '\'' +
                ", goatType=" + goatType +
                ", disEnabled=" + disEnabled +
                ", sort=" + sort +
                ", recommon='" + recommon + '\'' +
                '}';
    }
}
